package sz.szsmk.citizencard.model.network.bean.request;

import sz.szsmk.citizencard.DaggerApplication;
import sz.szsmk.citizencard.model.network.dzbean.req.BaseRequest;
import sz.szsmk.citizencard.util.AndroidUtils;

/**
 * Copyright (c)2019
 * author: zdh
 * created on: 2019/1/20 21:26
 * description:
 */
public class PreAuthNewReq extends BaseRequest{


    /**
     * channelId : string
     * deviceId : string
     * mobile : string
     * nonce : string
     * openId : string
     * photoUrl : string
     * signature : string
     * timestamp : string
     * userId : string
     */

    private String channelId;
    private String deviceId;
    private String mobile;
    private String nonce;
    private String openId;
    private String photoUrl;
    private String signature;
    private String timestamp;
    private String userId;

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getNonce() {
        return nonce;
    }

    public void setNonce(String nonce) {
        this.nonce = nonce;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getPhotoUrl() {
        return photoUrl;
    }

    public void setPhotoUrl(String photoUrl) {
        this.photoUrl = photoUrl;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public PreAuthNewReq(){
        deviceId = AndroidUtils.getAndroidId(DaggerApplication.getIns());

    }

}
